<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			function func(){
				let i = 4;
				var i = 1;
			}
			func();		//报错
		</script>
	</body>
</html>
